StringScanner.GetToOffset Function
Syntax
Text as C = GetToOffset as C()
Arguments
- Text
The buffer contents up to the current offset.
Description
Return text up to current offset.
Discussion
The <StringScanner>.GetToOffset() function returns the buffer contents up to the current offset.
Example
dim scanner as P dim txt as C txt = <<%text% This is wonderful prose written by a technical writer of note. %text% ? txt = This is wonderful prose written by a technical writer of note. scanner = stringscanner.create(txt) scanner.scanover(8) ? scanner.gettooffset() = "This is "
See Also